import api from './index';

export const getList = () => {
    return api.get('/base-material/list');
};
export const derive = (type,count) => {
    return api.get(`/base-material/derive/${type}/${count}`,{
        responseType: 'blob', // 重要: 设置 responseType 为 'blob'
    })
}
export const rejectType = (type) => {
    return api.get(`/base-material/reject/${type}`);
}